package com.example.demo.service;

import com.example.demo.pojo.Emp;
import com.example.demo.pojo.PageBean;

import java.time.LocalDate;
import java.util.List;


public interface EmpService {
    PageBean get(Integer page, Integer pageSize, String name, Short gender, LocalDate begin, LocalDate end);

    void delete(List<Integer> ids);

    void add(Emp emp);

    Emp select(Integer id);

    void modify(Emp emp);

    void deleteById(Integer id);

    Emp login(Emp emp);
}
